﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RentalSystem.Data.Base.Entities
{
    public class Movie
    {
        public string Guid { get; set; }
        public string Title { get; set; }
        public string Director { get; set; }
        public DateTime IssueDate { get; set; }
        public string Publisher { get; set; }
        public TimeSpan Duration { get; set; }

        public List<Disc> Discs { get; set; }
        public List<Comment> Comments { get; set; }
        public List<Vote> Votes { get; set; }
        public List<MovieKindType> MovieKindTypes { get; set; }

        public Movie()
        {
            Discs = new List<Disc>();
            Comments = new List<Comment>();
            Votes = new List<Vote>();
            MovieKindTypes = new List<MovieKindType>();
        }
    }
}
